/*
 * @Author: Yxliam
 * @Date: 2024-01-17 09:07:57
 * @LastEditors: Yxliam
 * @LastEditTime: 2024-01-19 16:41:08
 * @Description: 
 */
import React from 'react';
import {Touchable, TouchableOpacity, TouchableOpacityProps} from 'react-native';

const MTouchableOpacity: React.FC<TouchableOpacityProps> = ({
  children,
  ...rest
}) => {
  return <TouchableOpacity {...rest} activeOpacity={0.5}>{children}</TouchableOpacity>;
};

export default MTouchableOpacity;